package com.svse.designPattern.behaviour.chainofresponsibility.service;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/8 10:44
 */
abstract public class Handler {
    private Handler next;

    public Handler getNext() {
        return next;
    }

    public void setNext(Handler next) {
        this.next = next;
    }


    public abstract void handleRequest(String request);
}
